package com.itheima.service.mongo;

import com.itheima.domain.mongo.Sound;

import java.util.List;

/**
 * 桃花传音
 */
public interface SoundService {

    //发送(保存)语音
    void saveSound(Sound sound);

    //接收语音
    List<Sound> receiveSound(Long userId,String gender);
}
